package com.manage.competition.vo;

import lombok.Data;

/**
 * Create with IDEA
 *
 * @Author: gitee.com/KamisamaXX
 * @Date: Create in 15:21 2019/4/11
 * @Description:
 */
@Data
public class ChartsVo implements Comparable<ChartsVo>{
    private Long id;

    private Long code;

    private String name;

    private Integer sex;

    private String mail;

    private String phone;

    private String prefilePicture;

    private String username;

    private float score;

    @Override
    public int compareTo(ChartsVo vo){
        return this.score > vo.score ? 1 : -1;
    }
}
